﻿using HotelManager.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManager.Service
{
    public interface IAdminService
    {
        UserInfosData GetAll(int roleId,int pageIndex,int pageSize);
        Task<UserData> GetFirstOrDefaultAsync(string loginId);
        Task<ResultData<string>> DeleteAsync(AdminDeleteData adminDeleteBody);
        ResultData<string> UploadImage(string filePath);
        Task<ResultData<string>> AddAsync(UserData userData);
        ResultData<string> Update(UserData userData);
    }
}
